<html>
<head><meta charset="utf-8"><title>IP parsing regression in rust 1.53.0 · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/IP.20parsing.20regression.20in.20rust.201.2E53.2E0.html">IP parsing regression in rust 1.53.0</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="244419362"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/IP%20parsing%20regression%20in%20rust%201.53.0/near/244419362" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> marmeladema <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/IP.20parsing.20regression.20in.20rust.201.2E53.2E0.html#244419362">(Jun 30 2021 at 13:02)</a>:</h4>
<p>I just got bitten by a regression introduced with rust 1.53 around IPv4 parsing.<br>
Previously leading 0 would be accepted and now it fails parsing for IPs like <code>192.168.144.01</code></p>



<a name="244419440"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/IP%20parsing%20regression%20in%20rust%201.53.0/near/244419440" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> marmeladema <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/IP.20parsing.20regression.20in.20rust.201.2E53.2E0.html#244419440">(Jun 30 2021 at 13:02)</a>:</h4>
<p>I would agree that the new version is better, but is that a known and accepted regression?</p>



<a name="244420006"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/IP%20parsing%20regression%20in%20rust%201.53.0/near/244420006" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> marmeladema <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/IP.20parsing.20regression.20in.20rust.201.2E53.2E0.html#244420006">(Jun 30 2021 at 13:06)</a>:</h4>
<p>At least it's not mentioned in <a href="https://blog.rust-lang.org/2021/06/17/Rust-1.53.0.html">https://blog.rust-lang.org/2021/06/17/Rust-1.53.0.html</a></p>



<a name="244420147"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/IP%20parsing%20regression%20in%20rust%201.53.0/near/244420147" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> marmeladema <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/IP.20parsing.20regression.20in.20rust.201.2E53.2E0.html#244420147">(Jun 30 2021 at 13:07)</a>:</h4>
<p>Oh I think its <a href="https://github.com/rust-lang/rust/pull/83652">https://github.com/rust-lang/rust/pull/83652</a></p>



<a name="244420175"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/IP%20parsing%20regression%20in%20rust%201.53.0/near/244420175" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> marmeladema <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/IP.20parsing.20regression.20in.20rust.201.2E53.2E0.html#244420175">(Jun 30 2021 at 13:08)</a>:</h4>
<p>It's in the detailed release note, by bad :)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>